﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iShoppingDAO;

namespace iShoppingBUS
{
    public class ChiTietPhanQuyenBUS
    {
        public static bool DeleteChiTietPhanQuyen(string maLoaiTaiKhoan, string maQuyen)
        {
            return ChiTietPhanQuyenDAO.DeleteChiTietPhanQuyen(maLoaiTaiKhoan, maQuyen);
        }

        public static string SelectMaChiTiet(string maLoai, string maPhanQuyen)
        {
            return ChiTietPhanQuyenDAO.SelectMaChiTiet(maLoai,maPhanQuyen);
        }

        public static bool UpdateChiTietQuyen(int idChiTiet, string maQuyen)
        {
            return ChiTietPhanQuyenDAO.UpdateChiTietQuyen(idChiTiet, maQuyen);
        }
      
        public static bool InsertChiTiet(string maLoai, string maQuyen)
        {
            return ChiTietPhanQuyenDAO.InsertChiTiet(maLoai, maQuyen);
        }
    }
}
